package testApplets;

import java.util.Vector;

import processing.core.PApplet;
import simpleGeom.HasPos3D;
import simpleGeom.Vec3D;

public class TrianglesIntersectTest extends PApplet{
public void setup(){
	Vector<HasPos3D>pts=new 	Vector<HasPos3D>();
	for (int i=0;i<12000000;i++){
		Vec3D v=new Vec3D(random(10),random(10),random(10));
		pts.add(v);
	}
	for (int i=0;i<12000000;i++){
		if (i%10==0){
			println("now: "+i);
		}
		HasPos3D p1=pts.get(i);
		for (int j=i;j<12000000;j++){
			HasPos3D p2=pts.get(j);
			Vec3D.dist(p1, p2);
		}
	}
}
}
